Skip to main content

🔌 Connecting to Your Workspace

The Docflo SAP Agent exposes a Model Context Protocol (MCP) server that lets AI assistants like Claude and ChatGPT talk directly to your SAP system. Once connected, you can ask natural language questions and trigger SAP actions straight from your AI workspace.

MCP server URL:

https://api.docflo.ai/sap-mcp

Claude

Claude Desktop

Claude Desktop reads its MCP server list from a JSON config file on your machine.

Config file location:

OSPath
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json

Open the file (create it if it doesn't exist) and add the Docflo SAP server under mcpServers:

{
"mcpServers": {
"docflo-sap": {
"url": "https://api.docflo.ai/sap-mcp"
}
}
}

If you already have other MCP servers configured, simply add the "docflo-sap" entry alongside them.

Restart Claude Desktop after saving the file. The SAP tools will appear automatically in Claude's tool list.


Claude Code (CLI)

Run the following command in your terminal to register the server:

claude mcp add --transport http docflo-sap https://api.docflo.ai/sap-mcp

To verify the server was added:

claude mcp list

You should see docflo-sap in the output. The server is now available in all Claude Code sessions in the current project.

💡 Tip: To add the server globally (available in all projects), add the --scope global flag:

claude mcp add --transport http --scope global docflo-sap https://api.docflo.ai/sap-mcp


ChatGPT

ChatGPT Desktop (macOS and Windows) supports MCP servers through a dedicated configuration file.

Config file location:

OSPath
macOS~/Library/Application Support/ChatGPT/mcp.json
Windows%APPDATA%\ChatGPT\mcp.json

Open the file (create it if it doesn't exist) and add the following:

{
"mcpServers": {
"docflo-sap": {
"url": "https://api.docflo.ai/sap-mcp",
"type": "sse"
}
}
}

Restart ChatGPT Desktop after saving. The Docflo SAP tools will be available in new conversations.

⚠️ Note: MCP support in ChatGPT Desktop requires the latest version of the app. If you do not see MCP settings or the tools do not appear after restarting, check for updates in the app or consult the OpenAI Help Center.


After Connecting

Once the MCP server is active in your AI workspace, you can interact with your SAP system using natural language. For example:

  • "Show me all open purchase orders for vendor XYZ."
  • "Post invoice #1234 to company code 1000."
  • "What is the current stock level for material MATL-001?"

The agent will use the services and entities you enabled during the Learning phase to answer your questions and take actions on your behalf.